package com.yhd.entity.wx;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("回调通知参数vo")
public class NoticeVo implements Serializable {
    private static final long serialVersionUID = -1156558119260053579L;

    @ApiModelProperty("通知ID")
    private String id;

    @ApiModelProperty("通知创建时间")
    private String create_time;

    @ApiModelProperty("通知的类型，支付成功通知的类型为TRANSACTION.SUCCESS  REFUND.SUCCESS：退款成功通知")
    private String event_type;

    @ApiModelProperty("通知的资源数据类型，支付成功通知为encrypt-resource")
    private String resource_type;

    @ApiModelProperty("通知资源数据 json格式")
    private EncryptMessageVo resource;

    @ApiModelProperty("回调摘要")
    private String summary;
}
